package com.coderyeah.cosmetology.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author lqs
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联user表的openId
     */
    private String openid;

    /**
     * 项目名称
     */
    private String proname;

    /**
     * 预约时间
     */
    private String makedate;

    /**
     * 预约客户姓名
     */
    private String username;

    /**
     * 预约状态
     */
    private String orderstate;

    /**
     * 下单时间
     */
    private String placedate;

    /**
     * 手机号
     */
    private String usertell;

    /**
     * 留言
     */
    @TableField(value = "information")
    private String information;

    /**
     * 关联商家id
     */
    private Long busid;

    /**
     * 关联产品id
     */
    private Long proid;

    private Long tecid;


}
